package ProjectoX;

public class Posicion {
	
	protected int Ancho;
	protected int Alto;
	protected int x;
	protected int y;
	
	public Posicion (int x, int y, int An, int Al) {
		Ancho = An;
		Alto = Al;
		this.x = x;
		this.y = y;
	}
	
	public int getX() {
		return x;
	}
	
	public int getY() {
		return y;
	}
	
	public int getAncho() {
		return Ancho;
	}
	
	public int getAlto() {
		return Alto;
	}
	
	public void setX(int x) {
		this.x = x;
	}

	public void setY(int y) {
		this.y = y;
	}

	public void setAncho(int a) {
		Ancho = a;
	}
	
	public void setAlto(int a) {
		Alto = a;
	}
}
